home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / ctshl114 / ctshell.cfg next >
Text File  |  1990-10-13  |  7KB  |  148 lines

  1.  
  2.     C T S H E L L . C F G
  3.     ---------------------
  4.     Configuration options for the CTSHELL program from Computer Training.
  5.     Each of the main sections of this file must be identified according
  6.     to its purpose.  These sections describe colors, point-'n'-shoot
  7.     program names, and tasks that CTSHELL can accomplish.  Notes for each
  8.     section provide more details about how those configurations are
  9.     entered.  Note that case is not significant for paths or keywords,
  10.     but case will be preserved for all menu entries.
  11.  
  12.     C O L O R   C H O I C E S
  13.     -------------------------
  14.     The first nine entries describe the colors to be used by CTSHELL in
  15.     various locations as it runs.  These are standard attributes, expressed
  16.     as hexadecimal digits, with the background color first.  Thus, 70 is
  17.     an attribute that means black letters on a white background.
  18.         By keeping these values in this particular order, we are able to
  19.     greatly simplify the process of configuring CTSHELL and keep its size
  20.     to a minimum.  Be sure not to remove any lines here, just change the
  21.     values.
  22.  
  23. [colors]
  24.                                ┌ Color attribute in conventional format
  25.  
  26.             Menu Bar          {70}
  27.             Menu Text         {70}
  28.             Menu Border       {70}
  29.             Display Text      {17}
  30.             Prompts           {7F}
  31.             Answers           {8F}
  32.             CursorBar         {07}
  33.             Dialog Box Text   {30}
  34.             Dialog Box Border {3F}
  35.  
  36.  
  37.  
  38.     P O I N T - N - S H O O T   P R O G R A M   P A T H S
  39.     -----------------------------------------------------
  40.     The following entries are executable paths for the various programs
  41.     that CTSHELL can run for you.  Each entry consists of a name to be
  42.     used in CTSHELL's pull-down menu, a path to execute the program, an
  43.     an optional field of switches to be used with the command, followed
  44.     by three Y/N fields at the end that answer these questions:
  45.  
  46.               - wait for a keypress before returning to CTSHELL?
  47.  
  48.               - can this be used with a group of tagged files?
  49.  
  50.               - if so, can it be passed one argument that contains
  51.                 all the file names?  (If not, the program will be
  52.                 repeated for every tagged name.)
  53.  
  54.  
  55.     Following those Y/N answers, there may be up to 6 extensions that
  56.     will invoke this program when <Enter> is pressed with the cursor bar
  57.     on a file in the list.  Thus, certain extensions may be associated
  58.     with a particular program.
  59.         With some programs, you may need CTSHELL to prompt you for an
  60.     additional argument instead of using option switches.  For example,
  61.     if you use an archiving program (such as PKZip) you'll want to tell
  62.     it what name to use for the archive you create.  You can use a field
  63.     that starts with the word "ASK:", followed by the prompt you want to
  64.     see in a dialog box.
  65.          When CTSHELL sees the word "ASK:" in the options field, it will
  66.     prompt you for the real option.
  67.  
  68.                  ┌────────────────────────────────────────────┐
  69.                  │ There may be up to 16 entries here, after  │
  70.                  │ which any additional ones will be ignored. │
  71.                  └────────────────────────────────────────────┘
  72.  
  73.         These are combined by CTSHELL with the name of the current
  74.     (or tagged) file(s) to form a complete command, like this:
  75.  
  76.                 command_path  option_switches  file_name(s)
  77.  
  78.                  ┌────────────────────────────────────────────┐
  79.                  │ Note that there are complete entries here  │
  80.                  │ as an example.  You will need to change    │
  81.                  │ the program names to ones that are avail-  │
  82.                  │ able on your computer before you will be   │
  83.                  │ able to use them from CTSHELL.  Delete any │
  84.                  │ extra lines when you're finished.          │
  85.                  └────────────────────────────────────────────┘
  86. [shoot]
  87.  
  88.    ┌ Menu name
  89.    │              ┌ Command path
  90.    │              │           ┌ Option switches
  91.    │              │           │  (or argument)   ┌ Wait before returning?
  92.    │              │           │                  │  ┌ Multiple files?
  93.    │              │           │                  │  │  ┌ Combined args?
  94.    │              │           │                  │  │  │   ┌ Extensions
  95.  
  96. {C Compiler}   {qcl.exe}     {/c}               {Y}{Y}{Y}
  97. {CodeView}     {cv.exe}      {/50}              {N}{N}{}
  98. {Delete Dir}   {deldir.com}  {}                 {N}{N}{}
  99. {Editor}       {q.exe}       {}       {N}{Y}{Y} {.C}{.H}{.CPP}{.CFG}{.BBS}{}
  100. {Lister}       {list.com}    {}                 {N}{Y}{Y} {.DOC}
  101. {Make utility} {nmake.exe}   {/f}               {Y}{N}{}  {.MAK}
  102. {UnZIPper}     {pkunzip.exe} {ASK:Destination}  {Y}{N}{}  {.ZIP}
  103. {ZIPper}       {pkzip.exe}   {ASK:Zipfile Name} {Y}{Y}{Y}
  104. {ZIP Viewer}   {fv.com}      {}                 {Y}{Y}{Y}
  105.  
  106.  
  107.  
  108.     T A S K S
  109.     ---------
  110.     The following are menu entries and paths.  Each section contains a menu
  111.     entry string, a directory change path, a program path, and an optional
  112.     field of switch options.  If you need CTSHELL to prompt you for an
  113.     option before running the program, use an {ASK: ... } field as described
  114.     above.
  115.         Each name entry is up to 40 characters, paths are up to 66.  Though
  116.     this was intended to be useful in a classroom situation, these can be
  117.     thought of generic path changes for ordinary use.
  118.         If you want to change to another directory, but not run a program
  119.     when you get there, use an empty set of braces for the program path.  To
  120.     run a program in the current directory, use empty braces in the change
  121.     path.
  122.  
  123.                  ┌────────────────────────────────────────────┐
  124.                  │ There may be up to 20 entries here, after  │
  125.                  │ which any additional ones will be ignored. │
  126.                  │ The entries that are here are provided as  │
  127.                  │ examples.  You will need to modify them    │
  128.                  │ according to your own needs, and delete    │
  129.                  │ any extra lines.                           │
  130.                  └────────────────────────────────────────────┘
  131.  
  132. [tasks]
  133.  
  134.    ┌ Task name for menu
  135.    │                         ┌ Directory to change to
  136.    │                         │                ┌ Command
  137.    │                         │                │         ┌ Switches
  138.  
  139. {Address Envelopes}       {}             {envelope.exe} {}
  140. {COMMO Communications}    {}             {commo}        {}
  141. {Programmer's Work Bench} {}             {pwb}          {}
  142. {QuickC Int Environment}  {}             {qc}           {/h}
  143. {Quick Help}              {}             {qh.exe}       {ASK:QuickHelp Topic?}
  144. {SLMR: ANSWER Mail}       {c:\com\mail}  {SLMR}         {c:\com\mail\progres}
  145. {Tomcat: GET/SEND Mail}   {c:\com\mail}  {tomcat}       {}
  146. {WINDOWS v3.0 Std286}     {c:\win}       {win}          {/s}
  147.  
  148.